{include file="daily_v2/menu" /}
<script>
var factoryId = {:$thisFactoryId};
var from = {:$thisFrom};
</script>

<!-- 产能分析 -->
{include file="daily_v2/cnfx" /}
<!-- 入仓出货订单数据表格 -->
{include file="daily_v2/delivery_table" /}
<!-- 各厂产能分析 -->
{if $thisFactoryId == 0}
{include file="daily_v2/cnfx_all" /}
{/if}

<!-- 上月下单出货情况 -->
{include file="daily_v2/chart_order_delivery_last_month" /}

<!-- 订单进度 -->
{include file="daily_v2/ddjd" /}

<!--12天出货趋势分析图表-->
<!--出货订单详细-->
{include file="daily_v2/chqsfx" /}

<!-- 车间生产压力统计 -->
{include file="daily_v2/cjyl" /}


<script>
layui.use(['jquery', 'layer'], function() {
	var $ = layui.jquery;
	var layer = layui.layer;
	
	window.showDetail = function(title, url) {
		layer.open({
		  type: 2,
		  title: title,
		  skin:'layui-layer-molv',
		  shadeClose: true,
		  shade: false,
		  maxmin: true, //开启最大化最小化按钮
		  area: ['630px', '80%'],
		  content: url
		});
	}
})
</script>